Merge "Fixes bug 4045 by adding dirmarks."
authorBrion VIBBER <brion@wikimedia.org>
Fri, 20 Apr 2012 16:20:05 +0000 (16:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 20 Apr 2012 16:20:05 +0000 (16:20 +0000)
includes/Skin.php

index 8b10d7f..f40de4c 100644 (file)
@@ -688,6 +688,7 @@ abstract class Skin extends ContextSource {
         * @return string
         */
        function subPageSubtitle() {
+               global $wgLang;
                $out = $this->getOutput();
                $subpages = '';
 
@@ -718,7 +719,7 @@ abstract class Skin extends ContextSource {
                                                $c++;
 
                                                if ( $c > 1 ) {
-                                                       $subpages .= $this->msg( 'pipe-separator' )->escaped();
+                                                       $subpages .= $wgLang->getDirMarkEntity() . $this->msg( 'pipe-separator' )->escaped();
                                                } else  {
                                                        $subpages .= '&lt; ';
                                                }